﻿<controls:ChildWindow x:Class="GranitePackageSystem.Views.ChildWindows.OwnershipWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
           xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
           xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="150" 
           Title="OwnershipWindow">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <controlsToolkit:BusyIndicator Name="busyIndicatorMain">
            <StackPanel Name="panelMain">
                <TextBlock Text="You are not the current owner of this QA Request." FontWeight="Bold" HorizontalAlignment="Center" FontSize="12" Margin="5" />
                <StackPanel Orientation="Horizontal" Margin="5">
                    <TextBlock Text="Current Owner:  " Height="20" VerticalAlignment="Center" Margin="5,5,10,5" />
                    <TextBox Text="" Name="boxCurrentOwner" IsReadOnly="True" Width="255" />
                </StackPanel>
            </StackPanel>
        </controlsToolkit:BusyIndicator>
        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Right">
            <Button x:Name="btnTakeOwnership" Content="Take Ownership" Click="btnTakeOwnership_Click"  Width="125" Height="23" Margin="5"/>
            <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="125" Height="23" Margin="5"/>
        </StackPanel>
    </Grid>
</controls:ChildWindow>